package com.molichuxing.gateway.bff.car.services;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.gateway.bff.car.entity.response.CarsViolationVo;

import java.util.List;
import java.util.Map; /**
 * @Author: renzhengyu
 * @Description:
 * @Date: Created in 14:53 2019/9/11
 * @Modified By:
 **/
public interface ViolationBffService {
    /**
     * 违章列表
     * @param params
     * @param pageNum
     * @param pageSize
     * @return
     */
    Paged<CarsViolationVo> getCarsViolationPaged(Map<String, Object> params, Integer pageNum, Integer pageSize) throws Exception;

    /**
     * 根据车辆id查询违章信息
     * @param carId
     * @return
     */
    List<CarsViolationVo> getCarsViolationByCarId(Integer carId);
}
